package com.imooc.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author Create By Liuqz
 * @date 2018/12/18 14:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product {

    private Long prodcutId;

    private String prodcutName;

    private String prodcutDesc;

    /**
     * 缩略图
     */
    private String imgAddr;

    private String normalPrice;

    private String promotionPrice;

    private Integer priority;

    private Date createTime;

    private Date lastEditTime;

    /**
     * 0 : 下架
     * 1 : 在架
     */
    private Integer enableStatus;

    private List<ProductImg> productImgList;

    private ProductCateogory productCateogory;

    private Shop shop;
}
